Release 10.1A: OpenEdge Development:
Messaging and ESB
requestReply procedure
Sends a message to a destination specified in the
JMSReplyTomessage header field and designates themessageConsumerparameter for processing replies.Syntax
Applies to
Session objects
Notes
- The term destination is used for both topics and queues.
- The 4GL-JMS implementation automates the request/reply sequence:
- Sending a reply by setting the reply
OUTPUTparameter of the message handler.- Requesting a reply by calling the requestReply procedure with a reply Message Consumer.
- The 4GL-JMS implementation uses a temporary destination for the reply. It is an error to set the
JMSReplyTofield of the message explicitly ifrequestReplyis used. The reply is received by messageConsumer asynchronously, just like any other message reception. The temporary destination is deleted when the Message Consumer object is deleted.- This procedure executes remotely (sends a message to the OpenEdge Adapter for SonicMQ).
See also
For more information, see the "Request/Reply" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |